package indi.gao.strategy;

/**
 * <p>Description:</p>
 * <p>Copyright: Copyright (c)2020$</p>
 * <p>Company: Tope</p>
 * <P>Created Date :2020$-01$-07$</P>
 * <P>@version 1.0</P>
 */
public class Apply {
    public static void sop(InterfaceTest interfaceTest, String s) {
        interfaceTest.sop(s);
    }

    // 策略模式
    public static void main(String[] args) {
        Apply.sop(new Impl1(), "1");
        Apply.sop(new Impl2(), "2");
    }
}
